package com.yitao.client.dto.shopInfo;

import com.skipper.base.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @Date: 2020/1/3 16:35
 * @Author: Kien
 */
public class ShopUserGradeWealDto extends BaseDto {
    /**
     * 主键
     */
    @ApiModelProperty("主键")
    private Long id;

    /**
     * 等级
     */
    @ApiModelProperty("等级")
    private Integer idx;

    /**
     * 门店id
     */
    @ApiModelProperty("门店id")
    private Long shopId;

    /**
     * 主表id
     */
    @ApiModelProperty("主表id")
    private Long gradeInfoId;

    /**
     * 触发条件（0 无要求 1 满金额 ）
     */
    @ApiModelProperty("触发条件（0 无要求 1 满金额 ）")
    private Integer derateRequire;

    /**
     * 减免条件值
     */
    @ApiModelProperty("减免条件值")
    private Long requireValue;

    /**
     * 1 、每件商品减金额 2 、每件商品折扣 3、订单减免金额
     */
    @ApiModelProperty("1 、每件商品减金额 2 、每件商品折扣 3、订单减免金额")
    private Integer derateType;

    /**
     * 优惠面值（分 折扣也需要除 100）
     */
    @ApiModelProperty("优惠面值（分 折扣也需要除 100）")
    private Long faceValue;

    /**
     * 后台登录账户id
     */
    @ApiModelProperty("后台登录账户id")
    private Long createBy;

    /**
     * 后台登录账户
     */
    @ApiModelProperty("后台登录账户")
    private String createByName;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 最后修改人
     */
    @ApiModelProperty("最后修改人")
    private Long lastUpdateBy;

    /**
     * 后台登录账户
     */
    @ApiModelProperty("后台登录账户")
    private String lastUpdateByName;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date lastUpdateTime;

    /**
     * 是否被删除
     */
    @ApiModelProperty("是否被删除")
    private Boolean deleteStatus;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIdx() {
        return idx;
    }

    public void setIdx(Integer idx) {
        this.idx = idx;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getGradeInfoId() {
        return gradeInfoId;
    }

    public void setGradeInfoId(Long gradeInfoId) {
        this.gradeInfoId = gradeInfoId;
    }

    public Integer getDerateRequire() {
        return derateRequire;
    }

    public void setDerateRequire(Integer derateRequire) {
        this.derateRequire = derateRequire;
    }

    public Long getRequireValue() {
        return requireValue;
    }

    public void setRequireValue(Long requireValue) {
        this.requireValue = requireValue;
    }

    public Integer getDerateType() {
        return derateType;
    }

    public void setDerateType(Integer derateType) {
        this.derateType = derateType;
    }

    public Long getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(Long faceValue) {
        this.faceValue = faceValue;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(Long lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy;
    }

    public String getLastUpdateByName() {
        return lastUpdateByName;
    }

    public void setLastUpdateByName(String lastUpdateByName) {
        this.lastUpdateByName = lastUpdateByName;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public Boolean getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Boolean deleteStatus) {
        this.deleteStatus = deleteStatus;
    }
}
